package com.db4o.internal.odbgen.plugins.java.database;

import com.db4o.internal.odbgen.plugins.XmlSchemaElementList;
import com.db4o.odbgen.plugins.java.database.Index;
import com.db4o.odbgen.plugins.java.database.Notnull;

/**
 * 
 * Contains all elements and attributes used inside XmlSchema 
 * that are processed by {@link Notnull}.
 * @author liviug
 */
public enum NotnullXmlSchemaElement implements XmlSchemaElementList {
    NOTNULL("notnull");

    private String _name;
    NotnullXmlSchemaElement(String name){
        this._name = name;
    }
    
    /**
     * See {@link XmlSchemaElementList} for details.
     */
    @Override
    public String getName() {
        return _name;
    }
}
